-- GENERATED SPELL FOR [Voodoo Slave] --


function spell0_14883(pUnit, Event) --@Lightning Blast,n/a--
pUnit:FullCastSpellOnTarget(43996,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14883', 2000, 1)
end

function Sorts_14883(pUnit, Event)
local choix_sorts_14883 = math.random(0, 0)
if choix_sorts_14883 == 0 then
pUnit:RegisterEvent('spell0_14883', 1, 1)
end
end

function mob14883_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14883', math.random(1500, 3000), 1)
end

function mob14883_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14883_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14883_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14883, 1, 'mob14883_Action')
RegisterUnitEvent(14883, 2, 'mob14883_Leave')
RegisterUnitEvent(14883, 3, 'mob14883_Kill')
RegisterUnitEvent(14883, 4, 'mob14883_Die')
